ba7a1d9221953eba24de09e6b34fa03fc464134b,src/main/java/org/opentripplanner/graph_builder/linking/SimpleStreetSplitter.java,SimpleStreetSplitter,updateIndex,#P2#,302

Before Change



    protected void updateIndex(P2<StreetEdge> edges) {
        // update indices of new edges
        idx.insert(edges.first.getGeometry().getEnvelopeInternal(), edges.first);
        idx.insert(edges.second.getGeometry().getEnvelopeInternal(), edges.second);

        // (no need to remove original edge, we filter it when it comes out of the index)

After Change



    protected void updateIndex(P2<StreetEdge> edges) {
        // update indices of new edges
        idx.insert(edges.first.getGeometry(), edges.first);
        idx.insert(edges.second.getGeometry(), edges.second);

        // (no need to remove original edge, we filter it when it comes out of the index)